const prodPugins = []
if(process.env.NODE_ENV === 'production') {
  prodPugins.push('transform-remove-console')
}
module.exports = {
  presets: [
    '@vue/cli-plugin-babel/preset'
  ],
  plugins: [
    [
      'component',
      {
        libraryName: 'mint-ui',
        style: true
      }
    ],
    ...prodPugins
  ]
}
